package testes.vSys.dao;

import java.util.Collection;

import testes.vSys.bean.Color;
import testes.vSys.bean.Fuel;
import testes.vSys.bean.Vehicle;

public interface IVehicleDao {
 
	public Vehicle createVehicle(Vehicle vehicle);
	public Vehicle getVehicleByPlate(String plate);
	public Vehicle getVehicleById(int id);
	public Collection<Vehicle> getVehicles();
	public Collection<Vehicle> getVehicles(String optionOrderBy);
	public boolean removeVehicle(int vehicleId);
	public boolean updateVehicle(Vehicle vehicle);
	public Collection<Fuel> getAvaiableFuels();
	public Collection<Color> getAvaiableColors();
	public Fuel getFuelById(int fuelId);
	public Color getColorById(int colorId);
	
	public Collection<Vehicle> getVehicle(String vehicleId, String plate, String initYear, String endYear,  
            String initValue, String endValue, String color, String model, String brand, String fuel, String city, String state);
	
}
 
